]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st/button: Fix small mistake in st_button_toggle_mode docs
authorJulian Sparber <julian@sparber.net>
Thu, 8 Feb 2024 09:27:03 +0000 (10:27 +0100)
committerJulian Sparber <julian@sparber.net>
Thu, 8 Feb 2024 09:27:03 +0000 (10:27 +0100)
When the toggle mode is enabled the checked state will be changed not
the active state.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3172>

src/st/st-button.c

index 42745f361ff46d78ef6e15d26c7cceb221511cc8..21710020ef87c43f3288b8d5dc4c7f92b671edaa 100644 (file)
@@ -821,7 +821,7 @@ st_button_get_toggle_mode (StButton *button)
  * @button: a #Stbutton
  * @toggle: %TRUE or %FALSE
  *
- * Enables or disables toggle mode for the button. In toggle mode, the active
+ * Enables or disables toggle mode for the button. In toggle mode, the checked
  * state will be "toggled" when the user clicks the button.
  */
 void